package com.study.dto;


public class Animal {
    public void eat() {
        System.out.println("eat ...");
    }

    public void sleep() {
        System.out.println("sleep ...");
    }

    public void run() {
        System.out.println("run ...");
    }

    public static void main(String[] args) {
        boolean flag = true;
        if (flag){
            System.out.println("111");
        }else{
            System.out.println("222");
        }
    }
}
